package com.wangshuo.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wangshuo.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangshuo.entity.CommentItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 13326
* @description 针对表【comment】的数据库操作Mapper
* @createDate 2025-03-07 10:05:51
* @Entity com.wangshuo.entity.Comment
*/
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentItem> getlist(Integer gid);

    IPage<CommentItem> getlist1(IPage<CommentItem> page, String keyword);
}




